package customer

import (
	"os/user"
	"yundata-service/internal"
)

type VisitAction struct {
	internal.ActionModel
}

func (ac *VisitAction) GetVisitList() {

	// 初始化反馈数据
	type Data struct {
		GroupVisit []user.User `json:"groupVisit"`
		VisitList  []user.User `json:"visitList"`
	}

	row := user.User{}
	var users []user.User
	users = append(users, row)
	data := Data{
		GroupVisit: users,
		VisitList:  users,
	}

	ac.Success("获取成功", data)
}
